import React from 'react'
import SortButton from '../SortButton'
import sort from '../../config/sort'

import '../../static/common.css'

export default class ContentLeftHeight extends React.Component {
    constructor(props) {
        super(props)
    }

    render() {
        return (
            <div className="card">
                <span>分类：</span>
                {sort.map((value) =>
                    (<SortButton content={value} key={value} />)
                )}
                <style jsx>{`
                    div {
                        margin: 20px 15px 15px 15px;
                        padding: 5px 10px;
                    }
                `}</style>
            </div>
        )
    }
}